home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu - A RowColumn widget convenience creation function SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/RowColumn.h> WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu( WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt, SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee, AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt, CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt); VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu creates an instance of a RowColumn widget of type XXXXmmmmMMMMEEEENNNNUUUU____OOOOPPPPTTTTIIIIOOOONNNN and returns the associated widget ID. This routine creates an OptionMenu and its submenu containing PushButtonGadget or CascadeButtonGadget children. The name of each button is bbbbuuuuttttttttoooonnnn_____n, where _n is an integer from 0 (zero) to the number of buttons in the menu minus 1. The name of each separator is sssseeeeppppaaaarrrraaaattttoooorrrr_____n, where _n is an integer from 0 (zero) to the number of separators in the menu minus 1. Buttons and separators are named and created in the order they are specified in the RowColumn simple menu creation resources supplied in the argument list. _p_a_r_e_n_t Specifies the parent widget ID _n_a_m_e Specifies the name of the created widget _a_r_g_l_i_s_t Specifies the argument list _a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in the argument list (_a_r_g_l_i_s_t) The user can specify resources in a resource file for the automatically created widgets and gadgets of an OptionMenu. These widgets (or gadgets) and the associated OptionMenu areas are Option Menu Label Gadget OOOOppppttttiiiioooonnnnLLLLaaaabbbbeeeellll Option Menu Cascade Button OOOOppppttttiiiioooonnnnBBBBuuuuttttttttoooonnnn A number of resources exist specifically for use with this and other simple menu creation routines. The only button Page 1 (printed 10/3/02) XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX)))) types allowed in the XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnTTTTyyyyppppeeee resource are XXXXmmmmPPPPUUUUSSSSHHHHBBBBUUUUTTTTTTTTOOOONNNN, XXXXmmmmCCCCAAAASSSSCCCCAAAADDDDEEEEBBBBUUUUTTTTTTTTOOOONNNN, XXXXmmmmSSSSEEEEPPPPAAAARRRRAAAATTTTOOOORRRR, and XXXXmmmmDDDDOOOOUUUUBBBBLLLLEEEE____SSSSEEEEPPPPAAAARRRRAAAATTTTOOOORRRR. For a complete definition of RowColumn and its associated resources, see XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3). RRRREEEETTTTUUUURRRRNNNN Returns the RowColumn widget ID. RRRREEEELLLLAAAATTTTEEEEDDDD XXXXmmmmCCCCrrrreeeeaaaatttteeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), and XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(3). Page 2 (printed 10/3/02)